package com.hefeng.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hefeng.example.domain.DeviceAutomaticAlarmWorkOrder;
import com.hefeng.example.mapper.DeviceAutomaticAlarmWorkOrderMapper;
import com.hefeng.example.service.DeviceAutomaticAlarmWorkOrderService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class DeviceAutomaticAlarmWorkOrderServiceImpl extends ServiceImpl<DeviceAutomaticAlarmWorkOrderMapper, DeviceAutomaticAlarmWorkOrder> implements DeviceAutomaticAlarmWorkOrderService {

    /**
     * 修改设备报警工单
     *
     * @param deviceAutomaticAlarmWorkOrder
     */
    @Override
    public void updateDeviceAutomaticAlarmWorkOrder(DeviceAutomaticAlarmWorkOrder deviceAutomaticAlarmWorkOrder) {
        baseMapper.updateAlarm(deviceAutomaticAlarmWorkOrder);
    }
}
